<ion-view view-title="注册" >
    <ion-content overflow-scroll="true" style="overflow-x:hidden;overflow-y:auto;" class="stable-bg">
        <div class="maibei-padding-top"></div>
        <div class="list maibei-list register light-bg">
            <div class="item-input">
                <span class="input-label">手机号码</span>
                <input type="tel" placeholder="请输入手机号" maxlength="11" ng-model="user.mobile" required>
            </div>
            <div class="item item-input">
                <span class="input-label">验证码</span>
                <input type="tel" placeholder="请输入验证码" ng-model="user.code" maxlength="6">
                <button class="button button-light" ng-disabled="!click_ok" ng-click="sendCode()"><span class="{{paraclass}}" ng-bind="paracont">获取验证码  </span></button>
            </div>
            <label class="item item-input">
                <span class="input-label">设置密码</span>
                <input type="password" placeholder="请设置6-18位登陆密码" ng-model="user.password1">
            </label>
            <label class="item item-input">
                <span class="input-label">确认密码</span>
                <input type="password" placeholder="请再次输入密码" ng-model="user.password2">
            </label>
        </div>
        <div class="maibei-padding-top"></div>
        <div class="register-checkbox">
            <ion-checkbox class="checkbox-assertive stable-bg" ng-model="chkData.protocol_chk" ng-checked="chkData.protocol_chk">
                <div>已经阅读并同意</div>
            </ion-checkbox>
            <a href="http://www.baidu.com" class="meibei-protocal maibei-positive">《用户服务协议》</a>
        </div>
        <div class="padding">
            <button ng-disabled="!chkData.protocol_chk || !chkData.reg_ok" class="button button-block button-maibei" ng-click="Register()">确认注册</button>
        </div>
    </ion-content>
</ion-view>
